package cn.edu.cqytxy.demo1;

/**
 *
 * 消费者
 *
 * @author yinjw
 */
public class Consumer implements Runnable{

    private Car car;

    public Consumer(Car car) {
        this.car = car;
    }


    @Override
    public void run() {
        car.unload();
    }
}
